Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 3 - Appendixes
Appendix B - Scriptable Text Editor Dictionary / Scriptable Text Editor Commands


Select

A Select command is a request to select a text object or bring a Scriptable Text Editor document or window to the front. Using the Select command to select a text object is the same as highlighting the text object by double-clicking it or dragging the cursor across it while holding down the mouse button.

SYNTAX
select referenceToObject
PARAMETER
referenceToObject
A reference to the text object, document, or window to select.
Class: Reference
RESULT
None

EXAMPLE
tell application "Scriptable Text Editor"   select paragraph 5 of document "Introduction"   copy
   select paragraph 10 of document "New Introduction"   paste
end tell

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996